package com.study.test.clone;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class Monkey implements Cloneable {
    private String name;
    private Integer age;

    @Override
    protected Monkey clone() throws CloneNotSupportedException {
        return (Monkey) super.clone();
    }
}
